<%@tag pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@attribute name="item" required="true" type="cn.livingCloud.dto.TrafficMsgDto" %>
<td>
    ${item.id}
</td>
<td>
    ${item.des}
</td>
<td>
    ${item.measure}
</td>
<td>
    <a href="gps/${item.uuid}" target="_blank" class="btn btn-primary btn-sm">查看经纬度</a>
</td>
<td>
    <c:if test="${item.archive}">
        <span class="label label-danger">禁用</span>
    </c:if>
    <c:if test="${not item.archive}">
        <span class="label label-success">启用</span>
    </c:if>
</td>
<td>
    <c:if test="${not item.archive}">
        <button type="button" uuid="${item.uuid}" class="btn btn-warning ChangeState">禁用
        </button>
    </c:if>
</td>